package com.kuang.service;

import com.kuang.dao.LogsMapper;
import com.kuang.pojo.Logs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class LogsServiceImpl implements LogsService {
    @Autowired
    private LogsMapper LogsMapper;
    public List<Logs> allLogs() {
        return LogsMapper.allLogs();
    }

    public void setLogsMapper(com.kuang.dao.LogsMapper logsMapper) {
        LogsMapper = logsMapper;
    }
}
